package com.yindian.cos.easy.security.authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * 拦截器的顶级抽象
 *
 * @author zhangchuanhao
 * @create 2018/11/19
 */
public abstract class AbstractAuthentication {
    /**
     * 是否支持当前请求
     *
     * @param request
     * @return
     */
    public abstract boolean support(HttpServletRequest request);

    /**
     * 执行顺序
     *
     * @param
     * @return
     */
    public abstract int order();
}
